package chapter1;

def customers = new XmlSlurper().parse(new File('C:/dev/workspace/groovy_in_action/src/chapter1/customers.xml'))
for (customer in customers.corporate.customer) {
	println "${customer.@name} works for ${customer.@company}"
}